<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/RopaOnline.Master" AutoEventWireup="true"
	CodeBehind="ShopingCart.aspx.cs" Inherits="Upsam.RopaOnline.Web.ShopingCart" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphContext" runat="server">

	<asp:GridView ID="grvShopingCart" runat="server" AllowSorting="True" AutoGenerateColumns="False"
		BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px"
		CellPadding="3" DataKeyNames="IdCarritoCompra" DataSourceID="ldsShopingCart"
		GridLines="Horizontal">
		<RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
		<Columns>
			<asp:CommandField ShowDeleteButton="True" />
			<asp:BoundField DataField="IdCarritoCompra" HeaderText="IdCarritoCompra" InsertVisible="False"
				ReadOnly="True" SortExpression="IdCarritoCompra" HeaderStyle-CssClass="oculto"
				ItemStyle-CssClass="oculto" />
		</Columns>
		<FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
		<PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
		<SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
		<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
		<AlternatingRowStyle BackColor="#F7F7F7" />
	</asp:GridView>
	<asp:LinqDataSource ID="ldsShopingCart" runat="server" ContextTypeName="Upsam.RopaOnline.Modelo.Data.RopaOnLineDataContext"
		EnableDelete="True" EnableUpdate="True" TableName="CarritoCompras" Where="IdUsuario == @IdUsuario">
		<WhereParameters>
			<asp:SessionParameter DefaultValue="0" Name="IdUsuario" SessionField="UserId" Type="Int32" />
		</WhereParameters>
	</asp:LinqDataSource>
</asp:Content>
